<?php get_header(); ?>
<!-- 列表 -->
<div class="information_list_content_trap clearfix">
    <div class="information_list_box">
        <div class="information_list_content">
            <?php get_sidebar(); ?>
            <div class="information_list">
                <div class="breadcrumb"><?php wheatv_breadcrumbs(); ?></div>
                <div class="breadcrumb_nav">
                    <?php single_cat_title(); ?>
                </div>

                <div class="contain2_big">
                    <div class="contain4">
                        <div class="contain4_right">
                            <div class="contain4_right_bottom">
                                <?php $posts = query_posts($query_string . '&orderby=date&showposts=7'); ?>
                                <?php while (have_posts()) : the_post(); ?>
                                <a href="<?php the_permalink(); ?>" style="width:239px;height:315px;">
                                    <div class="contain4_right_bottom_a rounded">
                                        <div class="contain4_right_bottom_a_top">
                                            <img src="<?php the_field('videoimg'); ?>" alt="" style="width:293px;height:220px;">
                                        </div>
                                        <div class="contain4_right_bottom_a_middle">
                                            <?php echo wp_trim_words(get_the_title(), 28); ?>
                                        </div>
                                        <div class="contain4_right_bottom_a_bottom rounded">
                                            <div class="contain4_right_bottom_a_bottom_left">
                                                <i class="fa fa-youtube-play"></i>
                                            </div>
                                            <div class="contain4_right_bottom_a_bottom_right">
                                                <i class="fa fa-clock-o"></i>
                                                <span><?php echo the_time('Y-m-d'); ?></span>
                                            </div>
                                        </div>
                                    </div>
                                </a>
                                endwhile; ?>
                            </div>

                            <script type="text/javascript">
                                $("div.contain4_right_bottom div:first").addClass("bbb");

                                $("div.contain4_right_bottom_a").eq(0).addClass("topThree");
                                $("div.contain4_right_bottom_a").eq(1).addClass("topThree");
                                $("div.contain4_right_bottom_a").eq(2).addClass("topThree");

                                $("div.contain4_right_bottom_a").eq(3).addClass("bbb");
                                $("div.contain4_right_bottom_a").eq(6).addClass("bbb");
                                $("div.contain4_right_bottom_a").eq(9).addClass("bbb");
                                $("div.contain4_right_bottom_a").eq(12).addClass("bbb");
                                $("div.contain4_right_bottom_a").eq(15).addClass("bbb");
                            </script>
                            <!-- 				<div class="contain2_yema">
                                    <i><img src="./images/zuojiantou.png"></i>
                                    <a href="">上一页</a>
                                    <a href="">1</a>
                                    <a href="">2</a>
                                    <a href="">3</a>
                                    <a href="">4</a>
                                    <a href="">下一页</a>
                                    <i><img src="./images/youjiantou.png"></i>
                                </div> -->
                            <div class="contain5_yema">
                                <?php par_pagenavi(9); ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php get_footer(); ?>